#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>

/*
 * This function logs all events that occur in the
 * program. All events are written to the main log,
 * and each event is written to its specific event
 * log as well. The type of event that is being
 * logged is passed to the function by two strings.
 */

void log_queue(char *operation, int pid, enum State process_state);
void log_error(char *error);
void log_notice(char *notice);
void log_resource(char *resource, int pid);
void log_waiting(char *resource, int pid);
